Optimal. Leaf size=12 \[ \frac {a c \tan (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 27, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {3603, 3852, 8}
\begin {gather*} \frac {a c \tan (e+f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 8
Rule 3603
Rule 3852
Rubi steps
\begin {align*} \int (a+i a \tan (e+f x)) (c-i c \tan (e+f x)) \, dx &=(a c) \int \sec ^2(e+f x) \, dx\\ &=-\frac {(a c) \text {Subst}(\int 1 \, dx,x,-\tan (e+f x))}{f}\\ &=\frac {a c \tan (e+f x)}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 12, normalized size = 1.00 \begin {gather*} \frac {a c \tan (e+f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.02, size = 13, normalized size = 1.08
method | result | size |
derivativedivides | \(\frac {a c \tan \left (f x +e \right )}{f}\) | \(13\) |
default | \(\frac {a c \tan \left (f x +e \right )}{f}\) | \(13\) |
norman | \(\frac {a c \tan \left (f x +e \right )}{f}\) | \(13\) |
risch | \(\frac {2 i a c}{f \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )}\) | \(22\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.52, size = 13, normalized size = 1.08 \begin {gather*} \frac {a c \tan \left (f x + e\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [C] Result contains complex when optimal does not.
time = 1.12, size = 20, normalized size = 1.67 \begin {gather*} \frac {2 i \, a c}{f e^{\left (2 i \, f x + 2 i \, e\right )} + f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [C] Result contains complex when optimal does not.
time = 0.08, size = 24, normalized size = 2.00 \begin {gather*} \frac {2 i a c}{f e^{2 i e} e^{2 i f x} + f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.43, size = 13, normalized size = 1.08 \begin {gather*} \frac {a c \tan \left (f x + e\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 4.69, size = 12, normalized size = 1.00 \begin {gather*} \frac {a\,c\,\mathrm {tan}\left (e+f\,x\right )}{f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________